package app.itw.tison.user.model;


import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体类
 */

/*@Getter
@Setter
@Data
@ToString*/
public class User implements Serializable {

  private String name;
  private String sex;
  private String phone;
  private String desc;
  private Date cteateTime;

  public User() {

  }
  public User(String name, String sex, String phone, String desc, Date cteateTime) {
    this.name = name;
    this.sex = sex;
    this.phone = phone;
    this.desc = desc;
    this.cteateTime = cteateTime;
  }

  public String getName() {
    return name;
  }

  public String getSex() {
    return sex;
  }

  public String getPhone() {
    return phone;
  }

  public String getDesc() {
    return desc;
  }

  public Date getCteateTime() {
    return cteateTime;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  public void setCteateTime(Date cteateTime) {
    this.cteateTime = cteateTime;
  }

  @Override
  public String toString() {
    return "User{" +
        "name='" + name + '\'' +
        ", sex='" + sex + '\'' +
        ", phone='" + phone + '\'' +
        ", desc='" + desc + '\'' +
        ", cteateTime=" + cteateTime +
        '}';
  }
}
